package com.wx.model;


import java.util.Date;

public class Order {
	private int orderid;
	private int  bookid;
	private int  staid;
	private int userid;
	private String name;
	private String phone;
	private String home;
	private int postcode;
	private Date ordertime;
	private int orderstate;
	private int bookcount;
	private String bookname;
	private double count;
	
	public int getOrderid() {
		return orderid;
	}
	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public int getStaid() {
		return staid;
	}
	public void setStaid(int staid) {
		this.staid = staid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getHome() {
		return home;
	}
	public void setHome(String home) {
		this.home = home;
	}
	public int getPostcode() {
		return postcode;
	}
	public void setPostcode(int postcode) {
		this.postcode = postcode;
	}
	public Date getOrdertime() {
		return ordertime;
	}
	public void setOrdertime(Date ordertime) {
		this.ordertime = ordertime;
	}
	public int getOrderstate() {
		return orderstate;
	}
	public void setOrderstate(int orderstate) {
		this.orderstate = orderstate;
	}
	public int getBookcount() {
		return bookcount;
	}
	public void setBookcount(int bookcount) {
		this.bookcount = bookcount;
	}
	public String getBookname() {
		return bookname;
	}
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public Order(int bookid, int staid, int userid, String name, String phone,  String home,
			int postcode, Date ordertime , int orderstate ,int bookcount,String bookname) {
		super();
		this.bookid = bookid;
		this.staid = staid;
		this.userid = userid;
		this.name = name;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
		this.ordertime = ordertime;
		this.orderstate = orderstate;
		this.bookcount = bookcount;
		this.bookname=bookname;
		
	}
	public Order(int orderid, int bookid, int staid, int userid, String name, String phone, String home,
			int i, Date ordertime, int orderstate, int bookcount,String bookname) {
		super();
		this.orderid = orderid;
		this.bookid = bookid;
		this.staid = staid;
		this.userid = userid;
		this.name = name;
		this.phone = phone;
		this.home = home;
		this.postcode = i;
		this.ordertime = ordertime;
		this.orderstate = orderstate;
		this.bookcount = bookcount;
		this.bookname=bookname;
		
	}
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Order(int orderid, int bookid, int staid, int userid, String name, String phone, String home, int postcode,
			Date ordertime, int orderstate, int bookcount, String bookname, double count) {
		super();
		this.orderid = orderid;
		this.bookid = bookid;
		this.staid = staid;
		this.userid = userid;
		this.name = name;
		this.phone = phone;
		this.home = home;
		this.postcode = postcode;
		this.ordertime = ordertime;
		this.orderstate = orderstate;
		this.bookcount = bookcount;
		this.bookname = bookname;
		this.count = count;
	}
	public double getCount() {
		return count;
	}
	public void setCount(double count) {
		this.count = count;
	}
	
	
}
